package com.zjw.starter.fegin.fallback;

import com.zjw.model.R;
import com.zjw.model.enums.ClientType;
import com.zjw.model.pojo.vo.WsNodeInfo;
import com.zjw.starter.fegin.RemoteRegisterService;

import java.util.Collection;

public class RemoteRegisterFallback implements RemoteRegisterService {
    @Override
    public R<Collection<WsNodeInfo>> getServersByUserId(String groupId, String userId) {
        return R.fail("Remote getServersByUserId error");
    }

    @Override
    public R<WsNodeInfo> getServerByClientType(String groupId, String userId, ClientType clientType) {
        return R.fail("Remote getServerByClientType error");
    }
}
